package com.xunlai.infra.permission.business.vo.route;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author liang
 * @date 8/2/23 5:27 PM
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RouteListVo implements Serializable {

    @Serial
    private static final long serialVersionUID = -6946783885863314702L;

    private Long id;

    private String routeName;

    private Long routeTemplate;

    private String templateName;

    private Long routeSubject;

    private String subjectName;

    private Long routeType;

    private String typeName;

    private String routeStart;

    private String routeDestination;

    private String routeVehicles;

    private Integer routeRepastFloor;

    private Integer routeRepastLimit;

    private Long routeDesignerId;

    private String routeDesigner;

    private String routeDesignerName;

    private String routeDesignerMobile;

    private String routeDesignerWxUri;

    private String routeLeaveVehicle;

    private String routeLeaveFrom;

    private String routeLeaveTo;

    private String routeBackVehicle;

    private String routeBackFrom;

    private String routeBackTo;

    private String routeVideo;

    private BigDecimal routeDay;

    private Boolean valid;

    private Short deleted;

    private String routeNo;

    /**
     * 转发量
     */
    private Integer forwardNumber;

    /**
     * 浏览量
     */
    private Integer viewNumber;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime routeScheduleStart;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime routeScheduleEnd;


}
